package org.sensation.server.operation.request;

import org.sensation.server.file.SensationFileReceiveServer;

public class OperationRequest{
	private Command command;
	private SensationFileReceiveServer fileReceiveServer;
	
	public SensationFileReceiveServer getFileReceiveServer() {
		return fileReceiveServer;
	}

	public void setFileReceiveServer(SensationFileReceiveServer fileTransferServer) {
		this.fileReceiveServer = fileTransferServer;
	}
	
	public String getFileName(){
		return this.command.getFileName();
	}
	public Integer getFileSize(){
		return (int) this.command.getFileSize();
	}
	public void setSeqID(int seqID){
		command.setSeqID(seqID);
	}
	public String getCommand(){
		return command.getCommand();
	}
	
	public OperationRequest() {
		super();
	}
	public OperationRequest(Command operation) {
		super();
		this.command = operation;
	}
	public Command getOperation() {
		return command;
	}
}
